Skip to content

Conversation

@olabetskyi
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator

LGTM. As an improvement the time could also be collected for the individual addons.

@danmar
Copy link
Owner

danmar commented Oct 23, 2025

as a start LGTM.. I have some small nits.. like "cancell" should be "cancel". I would like that we reuse this timer for the "--showtime=file-total" output also so a different class name would be better.
do we need to have 2 individual timer classes?

#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we include it in the timer now

@olabetskyi olabetskyi marked this pull request as ready for review October 30, 2025 09:35
@sonarqubecloud
Copy link

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I run this command:

./cppcheck --showtime=top5_file lib/ctu.cpp lib/analyzerinfo.cpp

then I would like that the "file-total" time is shown for each file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants